window.onload=function(){
    var xhr=new XMLHttpRequest()
    xhr.open('get','/album-list.json')
    xhr.onload=function(){
        var data=JSON.parse(this.responseText)
        var list=data.albumList
        var oContainer = document.querySelector(".container")
        for(var i in list){
            var a=list[i]
            var html=`<div class="change"><div><img src="${a.cover}"></div><h1><a href="/play.html?aid=${a.aid}">${a.title}</a></h1><p class="pchange">${a.username}</p></div>`
            oContainer.innerHTML+=html
        }
    }
    xhr.send()
}
///play.html:播放器页面